/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.gov.ana.teste;

import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;

/**
 *
 * @author rafael.rodrigues
 */
public class TesteMain {
    
    public static void main(String[] args){
        
        double valor = 2.9;
        
        double novoValor = Math.ceil(valor);
        System.out.println(novoValor);
    }
}
